﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Ribbon.Core.Event
{
    #region Mouse Event
    public delegate void MouseClickDelegate(object obj, MouseEventArgs e);

    public delegate void MouseMoveDelegate(object obj, MouseEventArgs e);

    public delegate void MouseEnterDelegate(object obj, MouseEventArgs e);

    public delegate void MouseLeaveDelegate(object obj, MouseEventArgs e);
    #endregion

    #region Value Event

    public delegate void CheckedChangingDelegate(object obj, EventArgs e);

    public delegate void CheckedChangedDelegate(object obj, EventArgs e);

    public delegate void ColorChangedDelegate(object sen, ColorEventArgs e);

    public class ColorEventArgs : EventArgs
    {
        public System.Drawing.Color SelectColor { get; private set; }

        public ColorEventArgs(System.Drawing.Color clr)
        {
            this.SelectColor = clr;
        }
    }
    #endregion
}
